/* 
 * File:   ZipException.h
 * Author: enriqueantezana
 *
 * Created on 4 de junio de 2013, 18:03
 */

#ifndef ZIPEXCEPTION_H
#define	ZIPEXCEPTION_H

#include <exception>
#include <string>

using namespace std;

class ZipException : public exception
{
public:

    ZipException(const char* message)
    {
        this->message_=message;
    }

    ~ZipException() throw()
    {

    }

    const char* what() const throw ()
    {
        return this->message_.c_str();
    }
private:
    std::string message_;
};

#endif	/* ZIPEXCEPTION_H */

